//
//  EpointHJIconCell.m
//  EpointFrame5
//
//  Created by 李亚春 on 14-1-10.
//  Copyright (c) 2014年 Epoint. All rights reserved.
//

#import "EpointHJIconCell.h"

@implementation EpointHJIconCell

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    [super touchesBegan:touches withEvent:event];
    [self setBackgroundColor:COLOR(116, 194, 225)];
//    [self setAlpha:0.7];
}

-(void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event
{
    [super touchesCancelled:touches withEvent:event];
    [self setBackgroundColor:[UIColor clearColor]];
    [self setAlpha:1];
}

-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
    [super touchesEnded:touches withEvent:event];
    [self setBackgroundColor:[UIColor clearColor]];
    [self setAlpha:1];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
